mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-06-04 13:55:03 -06:00
Scroll fix
This commit is contained in:
parent
fde6099769
commit
2b24635ef7
@ -1,5 +1,6 @@
|
|||||||
#include "debugger_frame.h"
|
#include "debugger_frame.h"
|
||||||
|
|
||||||
|
#include <QScrollBar>
|
||||||
#include <QSplitter>
|
#include <QSplitter>
|
||||||
#include <QApplication>
|
#include <QApplication>
|
||||||
#include <QFontDatabase>
|
#include <QFontDatabase>
|
||||||
@ -293,9 +294,10 @@ void debugger_frame::WriteRegs()
|
|||||||
m_regs->clear();
|
m_regs->clear();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
int loc = m_regs->verticalScrollBar()->value();
|
||||||
m_regs->clear();
|
m_regs->clear();
|
||||||
m_regs->setText(qstr(cpu->dump()));
|
m_regs->setText(qstr(cpu->dump()));
|
||||||
|
m_regs->verticalScrollBar()->setValue(loc);
|
||||||
}
|
}
|
||||||
|
|
||||||
void debugger_frame::OnUpdate()
|
void debugger_frame::OnUpdate()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user