mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-07-31 13:02:27 -04: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:
parent
e8046ef6d7
commit
c638beaddb
@ -2544,14 +2544,17 @@ void MainWindow::mainSpectrumMove(MainSpectrumGUI *gui, int wsIndexDestnation)
|
|||||||
void MainWindow::mainSpectrumShow(MainSpectrumGUI *gui)
|
void MainWindow::mainSpectrumShow(MainSpectrumGUI *gui)
|
||||||
{
|
{
|
||||||
gui->show();
|
gui->show();
|
||||||
|
gui->raise();
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::showAllChannels(int deviceSetIndex)
|
void MainWindow::showAllChannels(int deviceSetIndex)
|
||||||
{
|
{
|
||||||
DeviceUISet *deviceUISet = m_deviceUIs[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)->show();
|
||||||
|
deviceUISet->getChannelGUIAt(i)->raise();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user