summaryrefslogtreecommitdiffstats
path: root/shemov.cpp
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2012-03-03 06:52:09 +0100
committerArno <am@disconnect.de>2012-03-03 06:52:09 +0100
commit969d923fa3cb5197b6cda9b60fc4abf8552e24f6 (patch)
treefa559d6fc772638803a3f3f114a1adac87ab7c8d /shemov.cpp
parent5d1e566d275b47fa590fb9e9879b9a1f970fc3ba (diff)
downloadSheMov-969d923fa3cb5197b6cda9b60fc4abf8552e24f6.tar.gz
SheMov-969d923fa3cb5197b6cda9b60fc4abf8552e24f6.tar.bz2
SheMov-969d923fa3cb5197b6cda9b60fc4abf8552e24f6.zip
Implement refresh for Pictures
Add action to PictureView for refreshing the view. Needed after editing mappings.
Diffstat (limited to 'shemov.cpp')
-rw-r--r--shemov.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/shemov.cpp b/shemov.cpp
index 2fe4d42..21ba39a 100644
--- a/shemov.cpp
+++ b/shemov.cpp
@@ -611,6 +611,9 @@ void SheMov::createActions(){
mEditPicsMappingsA = new QAction(tr("Edit mappings..."), this);
mPicWidget->picView()->addAction(mEditPicsMappingsA);
connect(mEditPicsMappingsA, SIGNAL(triggered()), mPicWidget->picView(), SIGNAL(editPicsMappings()));
+ mRefreshPicsA = new QAction(tr("Refresh"), this);
+ mPicWidget->picView()->addAction(mRefreshPicsA);
+ connect(mRefreshPicsA, SIGNAL(triggered()), mPicWidget->picView(), SLOT(refresh()));
// misc
mOpenWithMapperFS = new QSignalMapper(this);