Crowdin: Remove apostrophe from TechDraw/Gui/MDIViewPage.cpp translation
This commit is contained in:
@@ -650,7 +650,7 @@ void MDIViewPage::print(QPrinter* printer)
|
||||
if (!p.isActive() && !printer->outputFileName().isEmpty()) {
|
||||
qApp->setOverrideCursor(Qt::ArrowCursor);
|
||||
QMessageBox::critical(this, tr("Opening file failed"),
|
||||
tr("Can't open file %1 for writing.").arg(printer->outputFileName()));
|
||||
tr("Can not open file %1 for writing.").arg(printer->outputFileName()));
|
||||
qApp->restoreOverrideCursor();
|
||||
return;
|
||||
}
|
||||
@@ -978,10 +978,10 @@ void MDIViewPage::sceneSelectionManager()
|
||||
}
|
||||
if (!found) {
|
||||
m_sceneSelected.push_back(qts);
|
||||
break;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//remove items from m_sceneSelected that are not in q_sceneSel
|
||||
QList<QGraphicsItem*> m_new;
|
||||
for (auto m: m_sceneSelected) {
|
||||
@@ -1002,7 +1002,7 @@ void MDIViewPage::sceneSelectionChanged()
|
||||
sceneSelectionManager();
|
||||
|
||||
QList<QGraphicsItem*> dbsceneSel = m_view->scene()->selectedItems();
|
||||
|
||||
|
||||
if(isSelectionBlocked) {
|
||||
return;
|
||||
}
|
||||
@@ -1010,7 +1010,7 @@ void MDIViewPage::sceneSelectionChanged()
|
||||
std::vector<Gui::SelectionObject> treeSel = Gui::Selection().getSelectionEx();
|
||||
// QList<QGraphicsItem*> sceneSel = m_view->scene()->selectedItems();
|
||||
QList<QGraphicsItem*> sceneSel = m_sceneSelected;
|
||||
|
||||
|
||||
//check if really need to change selection
|
||||
bool sameSel = compareSelections(treeSel,sceneSel);
|
||||
if (sameSel) {
|
||||
|
||||
Reference in New Issue
Block a user