FIX: avoid multiple unsaved dialog
Change-Id: Ibcfde4033de8f75e65ac868c62de74e2187d0dde
This commit is contained in:
parent
fa91174af2
commit
49bbf6bdbb
|
@ -3712,7 +3712,7 @@ void GUI_App::request_user_login(int online_login)
|
||||||
|
|
||||||
void GUI_App::request_user_logout()
|
void GUI_App::request_user_logout()
|
||||||
{
|
{
|
||||||
if (m_agent) {
|
if (m_agent && m_agent->is_user_login()) {
|
||||||
bool transfer_preset_changes = false;
|
bool transfer_preset_changes = false;
|
||||||
wxString header = _L("Some presets are modified.") + "\n" +
|
wxString header = _L("Some presets are modified.") + "\n" +
|
||||||
_L("You can keep the modifield presets to the new project, discard or save changes as new presets.");
|
_L("You can keep the modifield presets to the new project, discard or save changes as new presets.");
|
||||||
|
|
Loading…
Reference in New Issue