diff --git a/src/qgssimadialog.cpp b/src/qgssimadialog.cpp index 6b0f5fd2d42..9d437d1c654 100644 --- a/src/qgssimadialog.cpp +++ b/src/qgssimadialog.cpp @@ -215,7 +215,11 @@ double QgsSiMaDialog::getScaleFactor() const { void QgsSiMaDialog::mIconView_selectionChanged(QIconViewItem * theIconViewItem) { +#ifdef Q_OS_MACX + mSelectedMarker=mCurrentDir+"/"+theIconViewItem->text(); +#else mSelectedMarker=mCurrentDir+theIconViewItem->text(); +#endif //draw the SVG-Image on the button double scalefactor=mScaleSpin->value()/100.0;