MCPcopy Create free account
hub / github.com/codereader/DarkRadiant / handleCommandExecutionFailure

Method handleCommandExecutionFailure

radiant/ui/UserInterfaceModule.cpp:368–374  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

366}
367
368void UserInterfaceModule::handleCommandExecutionFailure(radiant::CommandExecutionFailedMessage& msg)
369{
370 auto parentWindow = module::GlobalModuleRegistry().moduleExists(MODULE_MAINFRAME) ?
371 GlobalMainFrame().getWxTopLevelWindow() : nullptr;
372
373 wxutil::Messagebox::ShowError(msg.getMessage(), parentWindow);
374}
375
376void UserInterfaceModule::HandleNotificationMessage(radiant::NotificationMessage& msg)
377{

Callers

nothing calls this directly

Calls 3

moduleExistsMethod · 0.80
getWxTopLevelWindowMethod · 0.80
getMessageMethod · 0.80

Tested by

no test coverage detected