mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-22 06:04:01 -06:00
FIX: [STUDIO-4122] PopupMenu from main frame
Change-Id: Iabf60abcd7039c29e18d8957b5dd695702cb9058 Jira: STUDIO-4122
This commit is contained in:
parent
ea8f299f6d
commit
664a4a76a0
3 changed files with 4 additions and 5 deletions
|
@ -12766,7 +12766,7 @@ bool Plater::PopupMenu(wxMenu *menu, const wxPoint& pos)
|
|||
SuppressBackgroundProcessingUpdate sbpu;
|
||||
// When tracking a pop-up menu, postpone error messages from the slicing result.
|
||||
m_tracking_popup_menu = true;
|
||||
bool out = this->wxPanel::PopupMenu(menu, pos);
|
||||
bool out = wxGetApp().mainframe->PopupMenu(menu, pos);
|
||||
m_tracking_popup_menu = false;
|
||||
if (! m_tracking_popup_menu_error_message.empty()) {
|
||||
// Don't know whether the CallAfter is necessary, but it should not hurt.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue