Fixed incorrect FileView refresh

FossilOrigin-Name: 007750beaa643fdb136db346a647f43c0d14a30e
This commit is contained in:
kostas
2012-12-15 14:29:54 +00:00
parent 1dbe17f36c
commit 5062e495cc
3 changed files with 8 additions and 10 deletions

View File

@ -871,7 +871,7 @@ void MainWindow::updateDirView()
void MainWindow::updateFileView()
{
// Clear content except headers
repoFileModel.removeRows(1, repoFileModel.rowCount()-1);
repoFileModel.removeRows(0, repoFileModel.rowCount());
struct { RepoFile::EntryType type; QString text; const char *icon; }
stats[] =
@ -1410,8 +1410,6 @@ void MainWindow::fossilBrowse(const QString &fossilUrl)
if(!uiRunning())
ui->actionFossilUI->activate(QAction::Trigger);
Q_ASSERT(uiRunning());
bool use_internal = settings.GetValue(FUEL_SETTING_WEB_BROWSER).toInt() == 1;
QUrl url = QUrl(getFossilHttpAddress()+fossilUrl);