Issue 1987: improved DCP support; Issue 2042: batch queue crash fix
This commit is contained in:
@@ -223,17 +223,21 @@ void BatchQueuePanel::updateTab (int qsize)
|
||||
}
|
||||
}
|
||||
|
||||
void BatchQueuePanel::queueSizeChanged (int qsize, bool queueEmptied)
|
||||
void BatchQueuePanel::queueSizeChanged (int qsize, bool queueEmptied, bool queueError, Glib::ustring queueErrorMessage)
|
||||
{
|
||||
updateTab ( qsize);
|
||||
|
||||
if (queueEmptied) {
|
||||
if (queueEmptied || queueError) {
|
||||
stopBatchProc ();
|
||||
fdir->set_sensitive (true);
|
||||
fformat->set_sensitive (true);
|
||||
|
||||
SoundManager::playSoundAsync(options.sndBatchQueueDone);
|
||||
}
|
||||
if (queueError) {
|
||||
Gtk::MessageDialog msgd (queueErrorMessage, true, Gtk::MESSAGE_ERROR, Gtk::BUTTONS_OK, true);
|
||||
msgd.run ();
|
||||
}
|
||||
}
|
||||
|
||||
void BatchQueuePanel::startBatchProc () {
|
||||
|
Reference in New Issue
Block a user