Skip to content
Snippets Groups Projects
Commit cf352f29 authored by helene ortiz's avatar helene ortiz
Browse files

When synchronizing view state of launchpad (among box view or text

view), also synchronize swithview button icon.
parent c4fab267
Branches
Tags
No related merge requests found
......@@ -3,7 +3,7 @@
* Improvement: When "view logs" menu displays the message "you must log in to view logs!", automatically opens the login popup.
* Add 2 preference values to restore main window x and y.
* Fix bug: PAL and XBU files were not read properly.
* Fix bug: when synchronizing view state of launchpad (among box view or text view), also synchronize swithview button icon.
4.0.60 26/08/2020
------
......
......@@ -99,6 +99,8 @@ public class ServerCommandWorkspace extends CommandWorkspace {
textCommandZone.eraseContent();
viewState.switchView();
MainWindow.getInstance().getCommandsSelectionPlugin().onSwitchView();
// Switch view button must be updated according to current view state
MainWindowPeer.getInstance().getCommandBar().refreshSwitchViewButton();
// "Save" only available in box view mode
MainWindowPeer.getInstance().enableMenuItem("menu.command.saveEditor", !isInTextMode());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment