show message if adding transport master doesn't work
This commit is contained in:
parent
3c0f749370
commit
9134323f4a
@ -134,7 +134,12 @@ TransportMastersWidget::add_master ()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
TransportMasterManager::instance().add (d.get_type(), name);
|
d.hide ();
|
||||||
|
|
||||||
|
if (TransportMasterManager::instance().add (d.get_type(), name)) {
|
||||||
|
MessageDialog msg (_("New transport master not added - check error log for details"));
|
||||||
|
msg.run ();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user