We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e9809c4 + a8ec143 commit c7d84b3Copy full SHA for c7d84b3
surfacemanager.cpp
@@ -1788,8 +1788,9 @@ void SurfaceManager::subtractWavefronts(){
1788
QList<QString> list;
1789
QList<int> doThese = m_surfaceTools->SelectedWaveFronts();
1790
for (int i = 0; i < m_wavefronts.size(); ++i){
1791
- if (!m_wavefronts[i]->name.contains(doThese[0]))
+ if (!doThese.contains(i)) {
1792
list.append(m_wavefronts[i]->name);
1793
+ }
1794
}
1795
subtractWavefronatsDlg dlg(list);
1796
QScreen *screen = QGuiApplication::primaryScreen();
0 commit comments