macOS: force show property browser when opening preferences from menu.
parent
552fe354aa
commit
58f23aa061
|
@ -1409,6 +1409,9 @@ void OpenInBrowser(const std::string &url) {
|
||||||
|
|
||||||
@implementation SSApplicationDelegate
|
@implementation SSApplicationDelegate
|
||||||
- (IBAction)preferences:(id)sender {
|
- (IBAction)preferences:(id)sender {
|
||||||
|
if (!SS.GW.showTextWindow) {
|
||||||
|
SolveSpace::SS.GW.MenuView(SolveSpace::Command::SHOW_TEXT_WND);
|
||||||
|
}
|
||||||
SolveSpace::SS.TW.GoToScreen(SolveSpace::TextWindow::Screen::CONFIGURATION);
|
SolveSpace::SS.TW.GoToScreen(SolveSpace::TextWindow::Screen::CONFIGURATION);
|
||||||
SolveSpace::SS.ScheduleShowTW();
|
SolveSpace::SS.ScheduleShowTW();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue