mirror of
https://github.com/rizinorg/cutter.git
synced 2025-02-20 21:56:06 +00:00
Fix scr.color int value
This commit is contained in:
parent
13efdf86d5
commit
995429b77e
@ -169,7 +169,7 @@ void XrefsDialog::updatePreview(RVA addr)
|
||||
|
||||
TempConfig tempConfig;
|
||||
tempConfig.set("scr.html", true);
|
||||
tempConfig.set("scr.color", true);
|
||||
tempConfig.set("scr.color", COLOR_MODE_16M);
|
||||
|
||||
QString disass;
|
||||
|
||||
@ -196,7 +196,7 @@ void XrefsDialog::fillRefsForAddress(RVA addr, QString name, bool whole_function
|
||||
{
|
||||
TempConfig tempConfig;
|
||||
tempConfig.set("scr.html", false);
|
||||
tempConfig.set("scr.color", false);
|
||||
tempConfig.set("scr.color", COLOR_MODE_DISABLED);
|
||||
|
||||
this->addr = addr;
|
||||
this->func_name = func_name;
|
||||
|
@ -145,7 +145,7 @@ void SidebarWidget::fillRefs(QList<XrefDescription> refs, QList<XrefDescription>
|
||||
{
|
||||
TempConfig tempConfig;
|
||||
tempConfig.set("scr.html", false)
|
||||
.set("scr.color", false);
|
||||
.set("scr.color", COLOR_MODE_DISABLED);
|
||||
|
||||
ui->xrefFromTreeWidget->clear();
|
||||
for (int i = 0; i < refs.size(); ++i)
|
||||
@ -196,7 +196,7 @@ void SidebarWidget::fillOffsetInfo(QString off)
|
||||
{
|
||||
TempConfig tempConfig;
|
||||
tempConfig.set("scr.html", false)
|
||||
.set("scr.color", false);
|
||||
.set("scr.color", COLOR_MODE_DISABLED);
|
||||
|
||||
ui->offsetTreeWidget->clear();
|
||||
QString raw = Core()->getOffsetInfo(off);
|
||||
|
Loading…
Reference in New Issue
Block a user