[Digikam-devel] [digikam] [Bug 342189] BQM won't let me remove a tool unless i change it [patch]
Gilles Caulier
caulier.gilles at gmail.com
Sun Feb 8 22:11:00 GMT 2015
https://bugs.kde.org/show_bug.cgi?id=342189
Gilles Caulier <caulier.gilles at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version Fixed In| |4.8.0
Latest Commit| |http://commits.kde.org/digi
| |kam/ae3abb5f20722bbc8f01961
| |baec3fb31eb117223
--- Comment #2 from Gilles Caulier <caulier.gilles at gmail.com> ---
BQM : Apply patch #90980 from Maik Qualmann to set tools action properly when
BQM workflow is loaded,
and fix Cancel button behavior to stop all queues.
M +2 -1 NEWS
M +14 -5 utilities/queuemanager/main/queuemgrwindow.cpp
http://commits.kde.org/digikam/ae3abb5f20722bbc8f01961baec3fb31eb117223
diff --git a/NEWS b/NEWS
index f275922..d0c1b43 100644
--- a/NEWS
+++ b/NEWS
@@ -10,4 +10,5 @@ BUGFIXES FROM KDE BUGZILLA
(https://www.digikam.org/changelog):
002 ==> 343548 - Tag Manager crashes when adding a new tag.
003 ==> 337011 - Image Quality Sorter doesn't apply labels [patch].
004 ==> 318726 - Some BQM tools in a workflow don't restore (all) parameters
properly [patch].
-005 ==>
+005 ==> 342189 - BQM won't let me remove a tool unless i change it [patch].
+006 ==>
diff --git a/utilities/queuemanager/main/queuemgrwindow.cpp
b/utilities/queuemanager/main/queuemgrwindow.cpp
index f632947..b3838a8 100644
--- a/utilities/queuemanager/main/queuemgrwindow.cpp
+++ b/utilities/queuemanager/main/queuemgrwindow.cpp
@@ -160,7 +160,6 @@ QueueMgrWindow::QueueMgrWindow()
populateToolsList();
slotQueueContentsChanged();
- slotAssignedToolsChanged(d->assignedList->assignedList());
}
QueueMgrWindow::~QueueMgrWindow()
@@ -677,7 +676,15 @@ void QueueMgrWindow::loadImageInfosToNewQueue(const
ImageInfoList& list)
void QueueMgrWindow::slotQueueContentsChanged()
{
- refreshStatusBar();
+ if (d->busy)
+ {
+ refreshStatusBar();
+ }
+ else
+ {
+ // refreshStatusBar() and actions in tools view
+ slotAssignedToolsChanged(d->assignedList->assignedList());
+ }
}
void QueueMgrWindow::slotItemSelectionChanged()
@@ -1000,12 +1007,16 @@ void QueueMgrWindow::slotStop()
{
d->thread->cancel();
d->queuePool->currentQueue()->cancelItems();
- d->currentQueueToProcess = 0;
processingAborted();
}
void QueueMgrWindow::slotQueueProcessed()
{
+ if (!d->busy)
+ {
+ return;
+ }
+
d->currentQueueToProcess++;
if (d->currentQueueToProcess == d->queuePool->count())
@@ -1024,8 +1035,6 @@ void QueueMgrWindow::slotQueueProcessed()
}
}
-// TODO assigning a workflow doesn't enable the actions in tools view
-// adding a tool (which causes signalAssignTools and slotAssignTools works
fine
void QueueMgrWindow::slotAssignQueueSettings(const QString& title)
{
if (!title.isEmpty())
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Digikam-devel
mailing list