1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 01:55:48 -05:00

Massive UI revamping (v7): raise windows on the 'show' commands so that they will also be put on top

This commit is contained in:
f4exb 2022-04-18 10:21:47 +02:00
parent e8046ef6d7
commit c638beaddb

View File

@ -2544,14 +2544,17 @@ void MainWindow::mainSpectrumMove(MainSpectrumGUI *gui, int wsIndexDestnation)
void MainWindow::mainSpectrumShow(MainSpectrumGUI *gui)
{
gui->show();
gui->raise();
}
void MainWindow::showAllChannels(int deviceSetIndex)
{
DeviceUISet *deviceUISet = m_deviceUIs[deviceSetIndex];
for (int i = 0; i < deviceUISet->getNumberOfChannels(); i++) {
for (int i = 0; i < deviceUISet->getNumberOfChannels(); i++)
{
deviceUISet->getChannelGUIAt(i)->show();
deviceUISet->getChannelGUIAt(i)->raise();
}
}