diff --git a/YACReaderLibrary/library_window.cpp b/YACReaderLibrary/library_window.cpp
index 11ce68c9..3e2fc5e7 100644
--- a/YACReaderLibrary/library_window.cpp
+++ b/YACReaderLibrary/library_window.cpp
@@ -200,6 +200,7 @@ void LibraryWindow::doLayout()
sVertical->addWidget(comicFlow);
comics = new QWidget;
QVBoxLayout * comicsLayout = new QVBoxLayout;
+ comicsLayout->setSpacing(0);
comicsLayout->setContentsMargins(2,2,0,0);
comicsLayout->addWidget(editInfoToolBar = new QToolBar(comics));
comicsLayout->addWidget(comicView);
@@ -507,11 +508,9 @@ void LibraryWindow::enableLibraryActions()
void LibraryWindow::createToolBars()
{
libraryToolBar = addToolBar(tr("Library"));
-#ifndef Q_WS_MAC
+
libraryToolBar->setIconSize(QSize(32,32)); //TODO make icon size dynamic
-#else
- libraryToolBar->setIconSize(QSize(24,24));
-#endif
+
libraryToolBar->addAction(createLibraryAction);
libraryToolBar->addAction(openLibraryAction);
diff --git a/YACReaderLibrary/rename_library_dialog.cpp b/YACReaderLibrary/rename_library_dialog.cpp
index 64c84f52..071d7ac5 100644
--- a/YACReaderLibrary/rename_library_dialog.cpp
+++ b/YACReaderLibrary/rename_library_dialog.cpp
@@ -17,9 +17,10 @@ void RenameLibraryDialog::setupUI()
newNameLabel = new QLabel(tr("New Library Name : "));
newNameEdit = new QLineEdit;
newNameLabel->setBuddy(newNameEdit);
+ connect(newNameEdit,SIGNAL(textChanged(QString)),this,SLOT(nameSetted(QString)));
accept = new QPushButton(tr("Rename"));
- //accept->setDisabled(true);
+ accept->setDisabled(true);
connect(accept,SIGNAL(clicked()),this,SLOT(rename()));
cancel = new QPushButton(tr("Cancel"));
@@ -60,6 +61,14 @@ void RenameLibraryDialog::rename()
close();
}
+void RenameLibraryDialog::nameSetted(const QString & text)
+{
+ if(!text.isEmpty())
+ accept->setEnabled(true);
+ else
+ accept->setEnabled(false);
+}
+
void RenameLibraryDialog::close()
{
newNameEdit->clear();
diff --git a/YACReaderLibrary/rename_library_dialog.h b/YACReaderLibrary/rename_library_dialog.h
index aa5eaccf..abdd2e3e 100644
--- a/YACReaderLibrary/rename_library_dialog.h
+++ b/YACReaderLibrary/rename_library_dialog.h
@@ -21,6 +21,7 @@
public slots:
void rename();
void close();
+ void nameSetted(const QString & name);
signals:
void renameLibrary(QString newName);
};
diff --git a/YACReaderLibrary/yacreaderlibrary_es.ts b/YACReaderLibrary/yacreaderlibrary_es.ts
index a129b52d..1525d60f 100644
--- a/YACReaderLibrary/yacreaderlibrary_es.ts
+++ b/YACReaderLibrary/yacreaderlibrary_es.ts
@@ -948,7 +948,7 @@ Files won't be erased from disk.
New Library Name :
- Nombre de la nueva biblioteca :
+ Nuevo nombre de la biblioteca :
@@ -976,7 +976,7 @@ Files won't be erased from disk.
EASY SERVER CONNECTION
- CONEXIÓN AL SERVIDOR FÁCILMENTE
+ CONEXIÓN AL SERVIDOR FÁCILMENTE
diff --git a/release/languages/yacreaderlibrary_es.qm b/release/languages/yacreaderlibrary_es.qm
index 070a798f..e8df369a 100644
Binary files a/release/languages/yacreaderlibrary_es.qm and b/release/languages/yacreaderlibrary_es.qm differ